import request from '@/utils/request'

// 查询YmServiceImage列表
export function listYmServiceImage(serviceId,query) {
    return request({
        url: '/api/v1/serviceImageList/'+serviceId,
        method: 'get',
        params: query
    })
}

// 查询YmServiceImage详细
export function getYmServiceImage (serviceImageId) {
    return request({
        url: '/api/v1/serviceImage/' + serviceImageId,
        method: 'get'
    })
}


// 新增YmServiceImage
export function addYmServiceImage(data) {
    return request({
        url: '/api/v1/serviceImage',
        method: 'post',
        data: data
    })
}

// 修改YmServiceImage
export function updateYmServiceImage(data) {
    return request({
        url: '/api/v1/serviceImage',
        method: 'put',
        data: data
    })
}

// 删除YmServiceImage
export function delYmServiceImage(serviceImageId) {
    return request({
        url: '/api/v1/serviceImage/' + serviceImageId,
        method: 'delete'
    })
}

